package com.example.xpvideo.entity;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (Notice)实体类
 *
 * @author 杨丽辉
 * @since 2021-10-18 21:20:53
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Notice implements Serializable {
    private static final long serialVersionUID = 626911321632972586L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
        private Integer id;

    /**
    * 公告标题
    * isnull 0
    */            private String title;
    /**
    * 公告内容(富文本)
    * isnull 0
    */            private String content;
    /**
    * 创建时间
    * isnull 0
    */            private Integer createTime;
    /**
    * 是否删除；0是；1否
    * isnull 0
    */            private Integer del;
    /**
    * 应用类型；0商户端；1用户端
    * isnull 0
    */            private Integer type;
                private Integer updateTime;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
        
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
        
    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }
        
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"title\":" + title +
                            " ,\"content\":" + content +
                            " ,\"createTime\":" + createTime +
                            " ,\"del\":" + del +
                            " ,\"type\":" + type +
                            " ,\"updateTime\":" + updateTime +
                  '}';
    }


}
